//
//  ImagePhotoViewController.h
//  Binfen
//
//  Created by NigasMone on 14-12-1.
//  Copyright (c) 2014年 NigasMone. All rights reserved.
//

#import "BaseViewController.h"

@protocol ImagePhotoViewControllerDelegate <NSObject>
/**
 *  图片的长按手势
 *
 *  @param indexPath cell下标
 *  @param index     默认位置
 */
- (void) LongPressImagePhotoWithObject:(NSIndexPath *) indexPath defaultIndex:(NSInteger)index;

@end

@interface ImagePhotoViewController : BaseViewController

@property (nonatomic, assign) id<ImagePhotoViewControllerDelegate>i_delegate;

- (id)initWithPicArray:(NSArray*)albs defaultIndex:(int)index indexpath:(NSIndexPath *)indexPath;
- (void)showInCell:(id)cell AddInViewController:(id)viewController;
- (void)showFromView:(UIView*)fromView;
@end
